package baseFx.database;

import baseFx.common.EventArgs;

public class SqlBeforeArgs extends EventArgs {
    public final SqlParam param;
    public Object result;
    public SqlOperateType operateType;

    public SqlBeforeArgs(SqlOperateType operateType, SqlParam param) {
        this.param = param;
        this.operateType = operateType;
    }

    public SqlAfterArgs toAfter() {
        return new SqlAfterArgs(this);
    }
}
